<!DOCTYPE html>
<html>
<meta charset="utf-8">
<title>科鹏机电</title>
<head th:include="include :: header"></head>
<body class="gray-bg">
	<div class="wrapper wrapper-content ">
		<div class="row">
			<div class="col-sm-12">
				<div class="ibox float-e-margins">
					<div class="ibox-content">
						<form class="form-horizontal m-t" id="signupForm">
							<div class="form-group">	
								<label class="col-sm-2 control-label">项目名称：<font color="red">*</font></label>
								<div class="col-sm-4">
									<input id="name" name="name" class="form-control" type="text">
								</div>
								<label class="col-sm-2 control-label">项目编号：<font color="red">*</font></label>
								<div class="col-sm-4">
									<input id="itmNumber" name="itmNumber" class="form-control" type="text" th:value="${groupid}" readonly>
								</div>
							</div>
							<div class="form-group">
								<label class="col-sm-2 control-label">项目类型：<font color="red">*</font></label>
								<div class="col-sm-4">
									<select data-placeholder="--选择类型--" name="itmProTypeid" id="itmProTypeid"
											class="form-control" tabindex="2" required>
										<option value="">--选择类型--</option>
										<option th:each="projecttype:${projecttypeList}" th:value="${projecttype.id}" th:text="${projecttype.name}"></option>
									</select>
								</div>
								<label class="col-sm-2 control-label">项目阶段：<font color="red">*</font></label>
								<div class="col-sm-4">
									<select data-placeholder="--选择阶段--" name="status" id="status"
											class="form-control chosen-select" tabindex="2" required>
									</select>
								</div>
							</div>
							<div class="form-group">
								<label class="col-sm-2 control-label">项目负责人：<font color="red">*</font></label>
								<div class="col-sm-4">
									<select data-placeholder="--选择负责人--" name="itmManagerId" id="itmManagerId"
											class="form-control" tabindex="2" required>
										<option value="">--选择负责人--</option>
										<option th:each="user:${userList}" th:value="${user.userId}" th:text="${user.name}"></option>
									</select>
								</div>
								<label class="col-sm-2 control-label">业务部门：<font color="red">*</font></label>
								<div class="col-sm-4">
									<select data-placeholder="--选择部门--" name="deptId" id="deptId"
											class="form-control" tabindex="2" required>
										<option value="">--选择部门--</option>
										<option th:each="dept:${deptList}" th:value="${dept.deptId}" th:text="${dept.name}"></option>
									</select>
								</div>
							</div>

							<div class="form-group">
								<label class="col-sm-2 control-label">项目来源：</label>
								<div class="col-sm-4">
<!--									<input id="itmSource" name="itmSource" class="form-control" type="text">-->
									<select data-placeholder="--选择来源--" name="itmSource" id="itmSource"
											class="form-control chosen-select-source" tabindex="2" required>
										<option value="">--选择来源--</option>
									</select>
								</div>
<!--								<label class="col-sm-2 control-label">项目等级：</label>-->
<!--								<div class="col-sm-4">-->
<!--									<select data-placeholder="&#45;&#45;项目等级&#45;&#45;" name="itmGrade" id="itmGrade"-->
<!--											class="form-control" tabindex="2" required>-->
<!--										<option value="">&#45;&#45;项目等级&#45;&#45;</option>-->
<!--										<option value="1">A级</option>-->
<!--										<option value="2">B级</option>-->
<!--										<option value="3">C级</option>-->
<!--									</select>-->
<!--								</div>-->
								<div class="form-group">
									<label class="col-sm-2 control-label">权限项目组：<font color="red">*</font></label>
									<div class="col-sm-4">
										<input id="userIds" name="userIds" class="hidden">
										<input id="userNames" name="userNames" class="form-control"
											   type="text" onclick="openUser()"
											   readonly="readonly" placeholder="接收人">
									</div>
								</div>

							</div>
							<div class="form-group">
								<label class="col-sm-2 control-label">项目模式：</label>
								<div class="col-sm-4">
									<select data-placeholder="--项目模式--" name="itmModel" id="itmModel"
											class="form-control" tabindex="2" required>
										<option value="">--项目模式--</option>
										<option value="1">设备</option>
										<option value="2">运营</option>
									</select>
								</div>
								<label class="col-sm-2 control-label">拟承接部位：</label>
								<div class="col-sm-4">
									<input id="itmDecSite" name="itmDecSite" class="form-control" type="text">
								</div>
							</div>
							<div class="form-group">
								<label class="col-sm-2 control-label">客户名称：<font color="red">*</font></label>
								<div class="col-sm-4">
									<select data-placeholder="--选择客户名称--" name="custName" id="custName"
											class="form-control chosen-select-custName" tabindex="2" >
										<option value="">--选择客户名称--</option>
									</select>

								</div>
								<label class="col-sm-2 control-label">施工公司：</label>
								<div class="col-sm-4">
									<select data-placeholder="--选择施工公司--" name="complanyId" id="complanyId"
											class="form-control chosen-select-complanyId" tabindex="2" >
										<option value="">--选择施工公司--</option>
									</select>
								</div>
							</div>
							<div class="form-group">
								<label class="col-sm-2 control-label">项目地址：</label>
								<div class="col-sm-10">
									<textarea id="itmAddress" name="itmAddress" class="form-control"></textarea>
								</div>
							</div>
							<div class="form-group">
								<label class="col-sm-2 control-label">项目说明：</label>
								<div class="col-sm-10">
									<textarea id="itmRemark" name="itmRemark" class="form-control"></textarea>
								</div>
							</div>
							<div class="form-group">
								<div class="col-sm-9 col-sm-offset-3">
									<button type="submit" class="btn btn-primary">提交</button>
								</div>
							</div>
						</form>
					</div>
				</div>
			</div>
	</div>
	</div>
	<div th:include="include::footer"></div>
	<script type="text/javascript" src="/js/appjs/itm/project/add.js">
	</script>
</body>
</html>
